projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9db7b7
)
(get_boot_time): Handle NO_WTMP_FILE.
author
Karl Heuer
<kwzh@gnu.org>
Sun, 9 May 1999 17:57:03 +0000
(17:57 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sun, 9 May 1999 17:57:03 +0000
(17:57 +0000)
src/filelock.c
patch
|
blob
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index 3b65d127de9bf94a8818365b7e916704cc0c42c3..d441d2357702b9651780707789ca655f5e08edc0 100644
(file)
--- a/
src/filelock.c
+++ b/
src/filelock.c
@@
-165,7
+165,7
@@
get_boot_time ()
}
#endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */
-#if
def BOOT_TIME
+#if
defined (BOOT_TIME) && ! defined (NO_WTMP_FILE)
/* Try to get boot time from the current wtmp file. */
get_boot_time_1 (WTMP_FILE);